package de.lulusoft.anothertorrent.core.xmlrpc;

import org.apache.xmlrpc.XmlRpcException;

public abstract class ConnectionManager {

	protected boolean m_connected = false;

	public ConnectionManager() throws XmlRpcException
	{	
	}
	
	public boolean isConnected() {
		return m_connected;
	}

	public void connect()throws XmlRpcException
	{
	}
	
	public Object sendSimpleCommand(String cmd)throws XmlRpcException
	{
		return null;
	}
	
	public Object sendCommand(String cmd, Object[] params)throws XmlRpcException
	{
		return null;
	}
	
}
